/*
 * Copyright (c) 2018-2024 北京华恒盛世科技有限公司
 * QUICKPOOL is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *     http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
*/

#ifndef QP_HANDLER_H
#define QP_HANDLER_H

#include "subcmd/subcmd.h"

extern int job_top_handler(int, char **);
extern int job_bot_handler(int, char **);

extern int js_restart_handler(int, char **);
extern int js_hist_handler(int, char **);
extern int js_debug_handler(int, char **);
extern int js_time_handler(int, char **);

extern int jm_stop_handler(int, char **);
extern int jm_restart_handler(int, char **);
extern int jm_debug_handler(int, char **);
extern int jm_time_handler(int, char **);

extern int node_open_handler(int, char **);
extern int node_close_handler(int, char **);
extern int node_hist_handler(int, char **);
extern int node_group_handler(int, char **);

extern int user_group_handler(int, char **);

extern int queue_open_handler(int, char **);
extern int queue_close_handler(int, char **);
extern int queue_active_handler(int, char **);
extern int queue_inact_handler(int, char **);
extern int queue_hist_handler(int, char **);
extern int queue_nodeadd_handler(int, char **);
extern int queue_noderemove_handler(int, char **);
extern int queue_nodeupdate_handler(int, char **);

extern int js_checkconf_handler(int, char **);
extern int js_reconfig_handler(int, char **);
extern int jm_checkconf_handler(int, char **);
extern int jm_reconfig_handler(int, char **);


#endif
